package com.xinsoft.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xinsoft.entity.dto.CusNewsDTO;
import com.xinsoft.entity.dto.CusNewsParam;
import com.xinsoft.entity.po.CusNews;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
* @author hsm
* @description 针对表【cus_news(新闻公告)】的数据库操作Mapper
* @createDate 2023-09-27 14:28:56
* @Entity generator.domain.CusNews
*/
public interface CusNewsMapper extends BaseMapper<CusNews> {

    IPage<CusNewsDTO> findListByParam(Page<?> page, @Param("param") CusNewsParam param);

    CusNewsDTO findInfoById(@Param("id") Integer id);


}




